@charset "UTF-8";

/* flex 布局 */
.flex-box{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

/* 水平居中 */
.flex-h-center{
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* 垂直居中 */
.flex-v-center{
  -webkit-box-align: center;
  -moz-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}

@mixin flex-size($size: 1){
  -webkit-box-flex: $size;
  -webkit-flex: $size;
  -ms-flex: $size;
  flex: $size;
}